<template>
  <div class="form-container">
      <el-form ref="form" label-position="left" :model="form" label-width="80px">

        <el-form-item label="订单归属">
          <el-select v-model="form.region1" placeholder="请选择活动区域">
            <el-option label="本商户的退款单" value="shanghai"></el-option>
            <el-option label="服务商模式下的退款单" value="beijing"></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="提交时间">
          <el-col :span="8">
            <el-date-picker type="date" placeholder="选择日期" v-model="form.date1" style="width: 100%;"></el-date-picker>
          </el-col>
          <el-col class="line" :span="1" style="padding-left: 10px;">到</el-col>
          <el-col :span="8">
            <el-date-picker placeholder="选择日期" v-model="form.date2" style="width: 100%;"></el-date-picker>
          </el-col>
        </el-form-item>
        <el-form-item label="退款状态">
          <el-select v-model="form.region2" placeholder="请选择活动区域">
            <el-option label="所有状态" value="shanghai"></el-option>
            <el-option label="其他" value="beijing"></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="申请人">
          <el-input v-model="applicant" style="width: 250px;"></el-input>
        </el-form-item>



        <el-form-item>
          <el-button type="primary" @click="onSubmit" style="margin-left: 0px;">查询</el-button>

        </el-form-item>
      </el-form>
  </div>
</template>

<script>
  export default{
    name:'QueryFoundForm1',
    data() {
          return {
            form: {
              name: '',
              region: '',
              date1: '',
              date2: '',
              delivery: false,
              type: [],
              resource: '',
              desc: '',
              applicant:''
            }
          }
        },
        methods: {
          onSubmit() {
            console.log('submit!');
          }
        }


  }
</script>

<style scoped>
  .form-container{
    padding-top: 20px;
  }
  .el-button{
    background-color: #00c250;
    width: 102px;
    height: 40px;
    margin-left: 110px;
    margin-right: 20px;
  }
</style>
